package com.furongji.education.domain.po;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 评论点赞记录表
 * </p>
 *
 * @author furongji
 * @since 2025-06-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("comment_like")
@Schema(description="评论点赞记录表")
public class CommentLike implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "点赞记录ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @Schema(description = "被点赞评论ID")
    private String commentId;

    @Schema(description = "点赞用户ID")
    private String userId;

    @Schema(description = "0未删除，1已删除")
    @TableLogic
    private Boolean isDeleted;

    @Schema(description = "点赞时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;


}
